"""
URL configuration for DjangoProject4 project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path

from lianxi20250925.views import post_category

# from empapp.views import add_employee, list_employee, update_employee, post_employee
from lianxi20250912.views import get_devices_list, get_devices_detail
# from lianxi20250915.views import add_device, updata_device, delete_device
# from lianxi20250916.views import login
# from lianxi20250918.views import add_student
# from lianxi20250919.views import login0919, get_books, post_borrows, get_borrows
# from lianxi20250923.views import get_micorservice
# # from lianxi20250922.views import add_category, del_category, del_fu, update_category
# from zuoye20250915.views import zuoye0915_device_add, zuoye0915_device_update
# from zuoye20250916.views import get_task, put_task, delete_post
# from zuoye20250917.views import post_student, get_student, get_student_list, put_student, delete_student
# from zuoye20250922.views import post_category, del_category, add_garment, del_garment, update_category, get_garment

urlpatterns = [
    path('admin/', admin.site.urls),
    path('get_devices_list/', get_devices_list),
    # path('api/devices/<int:id>/', get_devices_detail),
    # path('api/devices/add_device/', add_device),
    # path('updata_device/<int:id>', updata_device),
    # path('zuoye0915_device_add/', zuoye0915_device_add),
    # path('zuoye0915_device_update/<int:id>', zuoye0915_device_update),
    # path('delete_device/<int:id>', delete_device),
    # path('delete_device/', delete_device),
    # path('login', login),
    # path('api/tasks/', get_task),
    # path('api/tasks/<int:id>', put_task),
    # path('api/add_employee/', add_employee),
    # path('api/list_employee/', list_employee),
    # path('api/update_employee/<int:id>', update_employee),
    # path('api/update_employee/', update_employee),
    # path('api/post_employee/<int:id>', post_employee),
    # path('api/post_employee/', post_employee),
    # path('api/delete_post/', delete_post),
    # path('post_student/', post_student),
    # path('get_student/<int:id>', get_student),
    # path('get_student_list/', get_student_list),
    # path('put_student/<int:id>', put_student),
    # path('delete_student/<int:id>', delete_student),
    # path('add_student/', add_student),
    # path('login0919/', login0919),
    # path('get_books/', get_books),
    # path('post_borrows/', post_borrows),
    # path('get_borrows/', get_borrows),
    # path('api/tasks/<int:id>/', get_task)
    # path('add_category/', add_category),
    # path('del_category/', del_category),
    # path('del_fu/', del_fu),
    # path('update_category/', update_category)
#     path('post_category/', post_category),
#     path('add_garment/', add_garment),
#     path('del_garment/', del_garment),
#     path('get_garment/', get_garment),
#     path('update_category/', update_category),
#     path('get_micorservice/', get_micorservice),
    path('post_category/', post_category),
#     path('del_catgory/', del_category)
]
